﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AMS.UI.Controls
{
    /// <summary>
    /// 关键字查找（搜索）事件的参数类
    /// </summary>
    public class KeywordChangedEventArgs : EventArgs
    {
        /// <summary>
        /// 关键字查找（搜索）事件的参数类
        /// </summary>
        /// <param name="keyword"></param>
        /// <param name="first"></param>
        public KeywordChangedEventArgs(string keyword, bool first)
        {
            Keyword = keyword;
            First = first;
        }

        /// <summary>
        /// 搜索的关键字
        /// </summary>
        public string Keyword { get; private set; }
        /// <summary>
        /// 是否第一次搜索些关键字
        /// </summary>
        public bool First { get; private set; }
    }
}
